package com.li.onjava8.concurrent.utils;

/**
 * @author li
 * @date 2023/10/30 9:59
 */
public class Timer {
    public long start;
    public Timer() {
        start = System.currentTimeMillis();
    }
    public long duration() {
        return System.currentTimeMillis() - start;
    }
}
